package com.wujian.love.dto;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;


/**
 * @ClassName: LoginDto
 * @Description: 登录参数
 * @Author: wuj
 * @Date: 2020-12-31 10:58
 **/
@Data
public class LoginDto {

    @NotBlank(message = "用户名不能为空")
    private String userName;

    @NotBlank(message = "密码不能为空")
    private String password;
}
